home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Sound / DLL / MkOs
Text File  |  1995-07-08  |  1KB  |  59 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.SysBeep    \
  4.  
  5.  
  6. LibName        =    Sound
  7.  
  8.  
  9.  
  10. # Template makefile to make all .o files
  11. # for a DeskLib sublibrary. Compilation 
  12. # is for static linking inside a DLL.
  13.  
  14. # The macro $(ObjectFiles) should be set at the 
  15. # start of this file, to be a space-separated
  16. # list of object files.
  17. # This is done by 'Makatic'.
  18.  
  19. # The macro $(LibName) should also be set at the 
  20. # start of this file, to be the name of the 
  21. # DeskLib sublibrary.
  22.  
  23. # Compiler flags, These can be anything. 
  24. # All essential flags (eg CC -zM
  25. # are included in the macro $(CC).
  26. #
  27. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  28. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  29.  
  30. CC        =    cc -c -zM -d_DLL -JC:DLLLib.,:mem $(CCFlags)
  31. ASM        =    ObjAsm $(ASMFlags)
  32.  
  33.  
  34. # -------------------------------------------------------
  35. # Everything below here should probably not be changed...
  36. # -------------------------------------------------------
  37.  
  38. # Here's what we want to make...
  39. #
  40. All:    $(ObjectFiles)
  41.  
  42.  
  43. # Rule for compiling C source code for a Straylight dynamically-linked library.
  44.  
  45. VPATH = @.^
  46.  
  47. .SUFFIXES:    .o .c .s
  48.  
  49. .c.o:
  50.     $(CC) -o $@ $<
  51.  
  52. .s.o:
  53.     $(ASM) $(ASMFlags) -from $< -to $@
  54.  
  55.  
  56.  
  57. # Dynamic dependencies:
  58.